<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>

<div>

<h2>View Person Detail</h2>

<p><a href="<spring:url value="/findPeopleAround" htmlEscape="true"/>">Return</a></p>

<p style="color: red; font-size: 9px;">${msg}</p>

<form method="POST" action="addBuddyReq">
    <input type="text" name="per_id" value="${per.person_id }" size="21" maxlength="21" hidden="true"/>
    <table>
    <tr>
      <td valign="top" style="font-weight:bold;">
        NickName
      </td>
      <td>
        ${per.nickname }
      </td>
    </tr>
    <tr>
      <td valign="top" style="font-weight:bold;">
        Gender
      </td>
      <td>
        ${per.gender }
      </td>
    </tr>
    <tr>
      <td valign="top" style="font-weight:bold;">
        He/She is doing
      </td>
      <td>
        <textarea name="moodmsg" cols=28 rows=5 readonly="readonly">${per.moodmsg }</textarea>
      </td>
    </tr>
        <tr>
      <td valign="top" style="font-weight:bold;">
        My Hobbies:
      </td>
      <td>
        ${per.hobby1 }<br/>
        ${per.hobby2 }<br/>
        ${per.hobby3 }<br/>
      </td>
    </tr>
    
    <tr>
      <td valign="top" style="font-weight:bold;">
        My Talents:
      </td>
      <td>
        ${per.talent1 }<br/>
        ${per.talent2 }<br/>
        ${per.talent3 }<br/>
      </td>
    </tr>
    <tr>
    </tr>
    <tr>
      <td valign="top" style="font-weight:bold;">
        telephone:
      </td>
      <td>
        ${per.telephone }
      </td>
    </tr>
    <tr>
      <td valign="top" style="font-weight:bold;">
        department:
      </td>
      <td>
        ${per.department }
      </td>
    </tr>
    <tr>
      <td>
      </td>
      <td>
         <textarea name="reason" cols=20 rows=5 draggable="false"></textarea>
      </td>
    </tr>
    <tr>
      <td>
      </td>
      <td>
         <span class="submit"><input type="submit" value="Send Buddy Request"/></span>
      </td>
    </tr>
  </table>
</form>
</div>
<p>&nbsp;</p>

<%@ include file="/WEB-INF/jsp/footer.jsp" %>
